import request from '@/utils/request'


export function getUpdate(version) {
  return request({
    url: '/api/update/list',
    method: 'get',
    params: { version }
  })
}

export function update() {
  return request({
    url: '/api/update/update',
    method: 'get'
  })
}
